package predicate;
public class Session {
	
	 /** 
	  * Variable.
	  */
	private String sessionName;
	private Room sessionRoom;
	private Day sessionDay;
	private Long sessionTime;
	private Long sessionLength;
	private Lecture sessionLecture;
	
	
	 /** 
	  * Class constructor.
	  */
	public Session()
	{
		sessionName = "unknow";
		setSessionRoom(null);
		setSessionDay(null);
		sessionTime = null;
		sessionLength = null;
	}
	
	/**
	 * Class constructor
	 * @param _sessionName a <code>String</code>
	 */
	public Session( String _sessionName )
	{	
		sessionName = _sessionName;
		setSessionRoom(null);
		setSessionDay(null);
		sessionTime = null;
		sessionLength = null;
	}
	
	/**
	 * Assessor
	 * @return sessionName
	 */
	public String getName()
	{
		return sessionName;
	}
	
	/**
	 * Assessor
	 * @return sessionTime
	 */
	public Long getTime()
	{
		return sessionTime;
	}
	
	/**
	 * Assessor
	 * @return sessionLength
	 */
	public Long getLength()
	{
		return sessionLength;
	}
	
	/**
	 * Mutator
	 * @param _sessionName a <code>String</code>
	 */
	public void setName( String _sessionName)
	{
		sessionName = _sessionName;
	}
	
	/**
	 * Mutator
	 * @param time a <code>int</code>
	 */
	public void setTime( Long time)
	{
		sessionTime = time;
	}	
	
	/**
	 * Mutator
	 * @param _sessionLength a <code>int</code>
	 */
	public void setLength( Long _sessionLength)
	{
		sessionLength = _sessionLength;
	}

	public void setRoom(Room room) {
		setSessionRoom(room);
		
	}

	public void setDay(Day day) {
		setSessionDay(day);
	}


	public Room getSessionRoom() {
		return sessionRoom;
	}

	public void setSessionRoom(Room sessionRoom) {
		this.sessionRoom = sessionRoom;
	}

	public Day getSessionDay() {
		return sessionDay;
	}

	public void setSessionDay(Day sessionDay) {
		this.sessionDay = sessionDay;
	}

	public Lecture getSessionLecture() {
		return sessionLecture;
	}

	public void setSessionLecture(Lecture sessionLecture) {
		this.sessionLecture = sessionLecture;
	}
}